<?php
if (! isset ( $_SESSION ['login'] )) {
	
	echo '<form method="post" action="?connection">
	<center><h1>Authentification</h1>
	<p>Veuillez vous identifier SVP :</p><br>

	<label for="login">Identifiant :</label> <br/><input type="text" id="login"
		name="login" placeholder="Identifiant"><br/>
			 <label for="password">Mot de
		passe :</label><br/> <input type="password" id="pass" name="pass"
		placeholder="Mot de passe" value="" />
			<br/>
	<button class="button btn btn-warning btn-large" id="button"
		value="Login" type="submit">Connexion</button>

	<p>
		<a href="index.php?module=forgetpassword" id="aPerdu">Vous avez perdu
			votre mot de passe?</a>
	</p></center>

</form>';
} else {
	echo '<p style="color:green">Welcome, ' . $_SESSION ['login'] . ' !</p>';
}